# 策略接口类
# - 策略必须要提供策略名称，以告知对应的初始化信息


class IStrategy:
    strategy_name = ''
    strategy_context = None

    def set_strategy_context(self, strategy_context):
        self.strategy_context = strategy_context

    def initialize(self):
        pass

    def process_event(self, event_type, event):
        pass

    # 收盘处理函数
    def close(self):
        pass


